package com.exportservices.domain;

import java.util.ArrayList;
import java.util.List;

public class Document {
/*
	ID_TYPE_DOC	NUMBER
	ID_DOC	NUMBER
	ID_CLIENT	NUMBER
	ID_SKL	NUMBER
	ID_MANAGER	NUMBER
	ID_VAL	NUMBER
	NUMB	NUMBER
	DAY	DATE
	SUM	NUMBER(14,2)
	NOTE	CHAR(500 BYTE)
	DISC	NUMBER
	ID_PRICE	NUMBER(2,0)
	NUMB1	NUMBER(7,0)
 */
	
	protected int typeDocID;
	protected int docID;
	protected int clientID;
	protected int sklID;
	protected int managerID;
	protected int valID;
	protected int numb;
	protected String day;
	protected double sum;
	protected String note;
	protected int disc;
	protected int priceID;
	protected int numb1;
	protected List<Line> lines=new ArrayList<Line>();
	
	public Document() {
		
	}

	public Document(int typeDocID, int docID, int clientID, int sklID,
			int managerID, int valID, int numb, String day, double sum,
			String note, int disc, int priceID, int numb1, List<Line> lines) {
		super();
		this.typeDocID = typeDocID;
		this.docID = docID;
		this.clientID = clientID;
		this.sklID = sklID;
		this.managerID = managerID;
		this.valID = valID;
		this.numb = numb;
		this.day = day;
		this.sum = sum;
		this.note = note;
		this.disc = disc;
		this.priceID = priceID;
		this.numb1 = numb1;
		this.lines = lines;
	}

	public int getTypeDocID() {
		return typeDocID;
	}

	public void setTypeDocID(int typeDocID) {
		this.typeDocID = typeDocID;
	}

	public int getDocID() {
		return docID;
	}

	public void setDocID(int docID) {
		this.docID = docID;
	}

	public int getClientID() {
		return clientID;
	}

	public void setClientID(int clientID) {
		this.clientID = clientID;
	}

	public int getSklID() {
		return sklID;
	}

	public void setSklID(int sklID) {
		this.sklID = sklID;
	}

	public int getManagerID() {
		return managerID;
	}

	public void setManagerID(int managerID) {
		this.managerID = managerID;
	}

	public int getValID() {
		return valID;
	}

	public void setValID(int valID) {
		this.valID = valID;
	}

	public int getNumb() {
		return numb;
	}

	public void setNumb(int numb) {
		this.numb = numb;
	}

	public String getDay() {
		return day;
	}

	public void setDay(String day) {
		this.day = day;
	}

	public double getSum() {
		return sum;
	}

	public void setSum(double sum) {
		this.sum = sum;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public int getDisc() {
		return disc;
	}

	public void setDisc(int disc) {
		this.disc = disc;
	}

	public int getPriceID() {
		return priceID;
	}

	public void setPriceID(int priceID) {
		this.priceID = priceID;
	}

	public int getNumb1() {
		return numb1;
	}

	public void setNumb1(int numb1) {
		this.numb1 = numb1;
	}

	public List<Line> getLines() {
		return lines;
	}

	public void setLines(List<Line> lines) {
		this.lines = lines;
	}
	
	
	
}
